<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex align-stretch benben-position-layout flex commodityList_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex align-center justify-between flex-sub commodityList_fd0_0'>
          <view class='flex align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
            <text class='fu-iconfont2  commodityList_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex align-center flex-sub commodityList_fd0_0_c1'>
            <text class='fu-iconfont2  commodityList_fd0_0_c1_c0' @tap.stop="topSearchFunc()">&#xe738;</text>
            <benben-input class='flex-sub commodityList_fd0_0_c1_c1' type="text" :placeholder="$t('请输入商品名称')"
              confirm-type="done" :maxlength="-1" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"
              @confirm="topSearchFunc()" v-model="keyword" />
            <image class='commodityList_fd0_0_c1_c2' mode="aspectFit" :src='STATIC_URL+"129.png"'
              @tap.stop="cleanKeywordFunc()" v-if="keyword!=''"></image>
          </view>
          <view class="flex align-center margin-left-xs" @tap.stop="handleJumpDiy" data-type="redirectTo"
            :data-url="`/pages/fl/fenleiindex/index?usermerchant_aid=${usermerchant_aid}`">
            <image style="width: 32rpx;height: 32rpx;" :src='STATIC_URL+"526.png"' mode="aspectFill"></image>
            <view class="text-666 text-sm margin-left-xs">分类</view>
          </view>
          <!-- <view class='flex flex-wrap align-center commodityList_fd0_0_c2' v-if=" appSystemIdentification=='Wechat'">
          </view> -->
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <view class="flex flex-direction align-stretch justify-center benben-position-layout flex commodityList_flex_1"
        :style="{top:(87+StatusBarRpx)+'rpx', }">
        <view class='flex align-center self-center justify-between flex-sub commodityList_fd1_0'>
          <view class='flex align-center commodityList_fd1_0_c0' @tap.stop="switchComprehensiveFunc()">
            <text class='commodityList_fd1_0_c0_c0' v-if="sort_field!='1'">综合</text><text
              class='commodityList_fd1_0_c0_c0_1' v-if="sort_field=='1'">综合</text>
          </view>
          <view class='flex align-center commodityList_fd1_0_c0' @tap.stop="switchShopListFunc(2)" v-if="showId=='1'">
            <text class='commodityList_fd1_0_c1_c0' v-if="sort_field!='2'">销量</text><text
              class='commodityList_fd1_0_c1_c0_1' v-if="sort_field=='2'">销量</text>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"237.png"'
              v-if="sort_field!='2'"></image>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"529.png"'
              v-if="sort_field=='2' && sort_type=='desc'"></image>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"530.png"'
              v-if="sort_field=='2' && sort_type=='asc'"></image>
          </view>
          <view class='flex align-center commodityList_fd1_0_c0' @tap.stop="switchShopListFunc(3)" v-if="showId=='1'">
            <text class='commodityList_fd1_0_c1_c0' v-if="sort_field!='3'">价格</text><text
              class='commodityList_fd1_0_c2_c0_1' v-if="sort_field=='3'">价格</text>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"237.png"'
              v-if="sort_field!='3'"></image>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"529.png"'
              v-if="sort_field=='3' && sort_type=='desc'"></image>
            <image class='commodityList_fd1_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"530.png"'
              v-if="sort_field=='3' && sort_type=='asc'"></image>
          </view>
          <view class='flex flex-wrap align-center' @tap.stop="switchShopListFunc(4)">
            <text class='commodityList_fd1_0_c3_c1_c0'>新品</text>

          </view>
          <view class='flex flex-wrap align-center'>
            <view class='flex align-center commodityList_fd1_0_c3_c0' v-if="showId=='1'">
              <image class='commodityList_fd1_0_c3_c0_c0' mode="aspectFit" :src='STATIC_URL+"238.png"'
                @tap.stop="switchcutFunc(1)" v-if="cutId=='2'"></image>
              <image class='commodityList_fd1_0_c3_c0_c0' mode="aspectFit" :src='STATIC_URL+"239.png"'
                @tap.stop="switchcutFunc(2)" v-if="cutId=='1'"></image>
            </view>
          </view>
        </view>

      </view>
      <view :style="{height: '100rpx'}"></view>
      <!---商品列表_商品flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout commodityList_flex_3"
        v-if="cutId=='1' ">
        <template v-for='(item,key0) in dataList'>
          <view class='flex align-center commodityList_fd3_0' @tap.stop="handleJumpDiy" data-type="navigateTo"
            :data-url="`/pages/fl/shopDetail/shopDetail?id=${item.id}`" :key='key0'>
            <image class='commodityList_fd3_0_c0' mode="aspectFill" :src='item.coverPic'></image>
            <view class='flex flex-direction flex-wrap align-stretch flex-sub commodityList_fd3_0_c1'>
              <text class='commodityList_fd3_0_c1_c0'>{{item.comdName}}</text>
              <view class='flex align-stretch'>
                <view class='flex flex-wrap align-center commodityList_fd3_0_c1_c1_c0'>
                  <image class='commodityList_fd3_0_c1_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"500.png"'></image>
                  <text class='commodityList_fd3_0_c1_c1_c0_c1'>￥{{item.rentPrice}}/月</text>
                </view>
                <view class='flex flex-wrap align-center commodityList_fd3_0_c1_c1_c1'>
                  <image class='commodityList_fd3_0_c1_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"501.png"'></image>
                  <text class='commodityList_fd3_0_c1_c1_c0_c1'>￥{{item.sellPrice}}</text>
                </view>
              </view>
              <view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="navigateTo"
                :data-url="`/pages/sy/shopdetail/shopdetail?usermerchant_aid=${item.shopIdk}`">
                <view class='flex flex-wrap align-center justify-between commodityList_fd3_0_c1_c2_c0'>
                  <text class='commodityList_fd3_0_c1_c2_c0_c0'>{{item.shopName}}</text>
                  <view class='flex flex-wrap align-center'>
                    <text class='commodityList_fd3_0_c1_c2_c0_c0'>进店</text>
                    <text class='fu-iconfont2  commodityList_fd3_0_c1_c2_c0_c1_c1'>&#xe7f2;</text>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </template>
        <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
          :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
      </view>

      <!---商品列表_商品flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout commodityList_flex_4" v-if="cutId==2">
        <view class='flex flex-wrap align-center justify-between'>
          <template v-for='(item,key0) in dataList'>
            <view class='flex flex-direction flex-wrap align-stretch commodityList_fd4_0_c0' :key='key0'
              @tap.stop="handleJumpDiy" data-type="navigateTo"
              :data-url="`/pages/fl/shopDetail/shopDetail?id=${item.id}`">
              <image class='commodityList_fd4_0_c0_c0' mode="aspectFill" :src='item.coverPic'>
              </image>

              <text class='flex-sub commodityList_fd4_0_c0_c1'>{{item.comdName}}</text>
              <view class='flex flex-direction align-stretch commodityList_fd4_0_c0_c2'>
                <view class='flex flex-wrap align-center commodityList_fd4_0_c0_c2_c0'>
                  <image class='commodityList_fd4_0_c0_c2_c0_c0' mode="aspectFit" :src='STATIC_URL+"500.png"'></image>
                  <text class='commodityList_fd4_0_c0_c2_c0_c1'>￥{{item.rentPrice}}/月</text>
                </view>
                <view class='flex flex-wrap align-center'>
                  <image class='commodityList_fd4_0_c0_c2_c0_c0' mode="aspectFit" :src='STATIC_URL+"501.png"'></image>
                  <text class='commodityList_fd4_0_c0_c2_c0_c1'>￥{{item.sellPrice}}</text>
                </view>
              </view>
              <view class='flex flex-wrap align-center justify-between commodityList_fd4_0_c0_c3'
                @tap.stop="handleJumpDiy" data-type="navigateTo"
                :data-url="`/pages/sy/shopdetail/shopdetail?usermerchant_aid=${item.shopIdk}`">
                <text class='commodityList_fd4_0_c0_c3_c0'>{{item.shopName}}</text>
                <view class='flex flex-wrap align-center'>
                  <text class='commodityList_fd4_0_c0_c3_c0'>进店</text>
                  <text class='fu-iconfont2  commodityList_fd4_0_c0_c3_c1_c1'>&#xe7f2;</text>
                </view>
              </view>
            </view>
          </template>
          <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
            :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---商品列表_商品1flex布局开始-->
      <view class="flex flex-wrap align-center benben-flex-layout commodityList_flex_5"
        v-if="cutId=='2' && showId=='1'">
      </view>

      <!---商品列表_商品1flex布局结束-->

      <view :style="{height: '152rpx'}"></view>


    </view>
    <!-- tabbar -->
    <view class=" benben-position-layout flex allCommodity_flex_5">
      <view class='clearfix allCommodity_fd5_0'>
        <view class='float_left' style="width: 25%;" @tap.stop="handleJumpDiy" data-type="redirectTo"
          :data-url="`/pages/sy/shopdetail/shopdetail?usermerchant_aid=${usermerchant_aid}`">
          <image class='allCommodity_fd5_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"549.png"'></image>
          <view class='allCommodity_fd5_0_c0_c1 text-cut'>{{$t('首页')}}</view>
        </view>
        <view class='float_left' style="width: 25%;">
          <image class='allCommodity_fd5_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"547.png"'></image>
          <view class='allCommodity_fd5_0_c2_c1 text-cut'>{{$t('全部商品')}}</view>
        </view>
        <view class='float_left' style="width: 25%;" @tap.stop="handleJumpDiy" data-type="redirectTo"
          :data-url="`/pages/fl/fenleiindex/index?usermerchant_aid=${usermerchant_aid}`">
          <image class='allCommodity_fd5_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"526.png"'></image>
          <view class='allCommodity_fd5_0_c1_c1 text-cut'>{{$t('商品分类')}}</view>
        </view>
        <view class='float_left' style="width: 25%;" @tap.stop="handleJumpDiy" data-type="redirectTo"
          :data-url="`/pages/assemblys/ContactUs/ContactUs?usermerchant_aid=${usermerchant_aid}`">
          <image class='allCommodity_fd5_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"548.png"'></image>
          <view class='allCommodity_fd5_0_c3_c1 text-cut'>{{$t('联系客服')}}</view>
        </view>
      </view>
    </view>
    <!-- end -->
  </view>
</template>
<script>
  import pagingList from '@/common/mixin/paging_list.js';
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "popupShow1696735753286": false,
        "popupShow1709617928056": false,
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "cut": "1",
        "brand_type": [{
          "name": "钙尔奇",
          "value": "1",
          "image": ""
        }, {
          "name": "汤臣倍健",
          "value": "2",
          "image": ""
        }, {
          "name": "哈药",
          "value": "3",
          "image": ""
        }],
        "brand_id": "",
        "price_type": [{
          "name": "0-90",
          "value": "0,90",
          "image": ""
        }, {
          "name": "100-199",
          "value": "100,199",
          "image": ""
        }, {
          "name": "200-299",
          "value": "200,299",
          "image": ""
        }, {
          "name": "300-599",
          "value": "300,599",
          "image": ""
        }, {
          "name": "599元+",
          "value": "599",
          "image": ""
        }],
        "price_id": "",
        "acut": "1",
        "goods_List": [],
        "dataDrandList": [],
        "dataShopList": [],
        "cutId": "1",
        "sort_field": "1",
        "sort_type": "desc",
        "showId": "1",
        "min_price": "",
        "max_price": "",
        "cartNum": {
          "count": ""
        },
        "money": 0,
        "areaId": "",
        "is_showbrand": true,
        "is_showprice": true,
        "dataList": [],
        "commoditype": "1",
        "keyword": "",
        "cid": "",
        "type": "0",
        usermerchant_aid: ''
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },
      isLogin() {
        return this.$store.state.token == '' ? false : true;
      },
      /**
       * @returns
       * Android       安卓
       * IOS       苹果
       * Web       H5 或 pc
       * Wechat       微信小程序
       * Alipay       支付宝小程序
       * Baidu       百度小程序
       * ByteBounce       抖音小程序
       * 360       360小程序
       * FastApp       快应用
       */
      appSystemIdentification() {
        return this.$store.state.appSystemIdentification
      }
    },
    watch: {},
    onLoad(options) {
      let {
        keyword,
        cid,
        type,
        usermerchant_aid
      } = options
      if (keyword !== undefined) this.keyword = keyword
      if (cid !== undefined) this.cid = cid
      if (type !== undefined) this.type = type
      if (usermerchant_aid !== undefined) this.usermerchant_aid = usermerchant_aid
      this.goodsListFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {},
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //清空关键词
      cleanKeywordFunc() {
        this.keyword = ''

      },
      //切换商品排序
      switchShopListFunc(type) {
        this.sort_field = type;
        if (this.sort_type == 'desc') {
          this.sort_type = 'asc';
        } else {
          this.sort_type = 'desc';
        }
        this.goodsListFunc()
      },
      //获取商品列表1
      goodsListFunc() {
        console.log('sort_type', this.sort_type)
        let byorderNum = ''
        if (this.sort_type == 'asc') {
          byorderNum = '1'
        } else {
          byorderNum = '2'
        }
        this.minixPagingListsApi = global.apiUrls.qryShopCommod;
        this.pageingListApiMethod = 'get';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {
          searchName: this.keyword,
          selectNum: parseFloat(this.sort_field) - 1, //0 综合1销量 2价格 3新品
          byorderNum: byorderNum, //1正序 2倒叙
          comTypIdk: this.cid,
          shopIdk: this.usermerchant_aid
        }
        this.listData = [];
        this.dataList = this.listData;
        this.pagingListToggle();

      },
      //综合切换
      switchComprehensiveFunc() {
        this.sort_field = '1';
        this.showId = '1';
        this.goodsListFunc()
      },

      //宫格列表切换
      switchcutFunc(cutId) {
        this.cutId = cutId;
      },
      //切换商品店铺
      switchShopStoreFunc() {
        this.showId = '2';
        this.sort_field = '';
        this.Func()
      },
      //顶部搜索
      topSearchFunc() {
        this.$store.commit('appSearchHistoryAdd', {
          "name": this.keyword
        })
        if (this.showId == '1') {
          this.goodsListFunc()
        } else {
          this.Func()
        }
      },

      //重置
      resettingFunc() {
        this.brand_id = '';
        this.min_price = '';
        this.max_price = '';
        this.goodsListFunc()
        this.popupShow1696735753286 = false;
      },
      //确认
      confirmFunc() {
        this.popupShow1696735753286 = false;
        this.goodsListFunc()
      },
      //显示品牌
      showBrandFunc() {
        if (this.is_showbrand === true) {
          this.is_showbrand = false;
        } else {
          this.is_showbrand = true;
        }
      },
      //显示价格
      showPriceFunc() {
        if (this.is_showprice === true) {
          this.is_showprice = false;
        } else {
          this.is_showprice = true;
        }
      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .commodityList_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .commodityList_fd0_0_c2 {
    width: 30%;
  }

  .commodityList_fd0_0_c1_c2 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd0_0_c1_c1 {
    font-size: 28rpx;
    font-weight: 400;
    color: var(--benbenFontColor0);
  }

  .commodityList_fd0_0_c1_c0 {
    font-size: 24rpx;
    color: rgba(153, 153, 153, 1);
    margin: 0rpx 14rpx 0rpx 0rpx;
  }

  .commodityList_fd0_0_c1 {
    background: #F9F9F9;
    height: 64rpx;
    border-radius: 34rpx 34rpx 34rpx 34rpx;
    padding: 0rpx 24rpx 0rpx 24rpx;
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .commodityList_fd0_0_c0_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333;
  }

  .commodityList_fd0_0 {
    padding: 0rpx 24rpx 0rpx 24rpx;
    line-height: 88rpx;
  }

  .commodityList_flex_1 {
    background: #fff;
    width: 750rpx;
    height: 100rpx;
    overflow: hidden;
    z-index: 10;
    top: 87rpx;
    background-size: 100% auto !important;
  }

  .commodityList_fd1_0_c3_c1_c1 {
    width: 30rpx;
    height: 30rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c3_c1_c0 {
    font-size: 28rpx;
    font-weight: 400;
    color: #333;
    margin: 0rpx 12rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c3_c0_c0 {
    width: 30rpx;
    height: 28rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c3_c0 {
    border-right: 1px solid rgba(237, 237, 237, 1);
    margin: 0rpx 32rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c2_c0_1 {
    color: #0089ff;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 40rpx;
    margin: 0rpx 10rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c1_c1 {
    width: 10rpx;
    height: 18rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c1_c0_1 {
    font-size: 28rpx;
    font-weight: 400;
    line-height: 40rpx;
    margin: 0rpx 10rpx 0rpx 0rpx;
    color: #0089ff;
  }

  .commodityList_fd1_0_c1_c0 {
    color: var(--benbenFontColor0);
    font-size: 28rpx;
    font-weight: 400;
    line-height: 40rpx;
    margin: 0rpx 10rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0_c0_c0_1 {
    font-size: 28rpx;
    font-weight: 500;
    line-height: 35rpx;
    color: #0089ff;
  }

  .commodityList_fd1_0_c0_c0 {
    color: var(--benbenFontColor0);
    font-size: 28rpx;
    font-weight: 500;
    line-height: 35rpx;
  }

  .commodityList_fd1_0_c0 {
    margin: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd1_0 {
    padding: 0rpx 32rpx 0rpx 47rpx;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 40rpx;
  }

  .commodityList_flex_2 {
    background: #fff;
    width: 566rpx;
    background-size: 100% auto !important;
    position: relative;
    padding: 40rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd2_3_c0_c1 {
    background: var(--benbenbgColor7);
    border-radius: 36rpx;
    font-size: 28rpx;
    color: var(--benbenFontColor3);
    width: 246rpx;
    height: 72rpx;
    line-height: 72rpx;
    margin: 0rpx 0rpx 0rpx 18rpx;
  }

  .commodityList_fd2_3_c0_c0 {
    background: var(--benbenbgColor2);
    border-radius: 36rpx;
    font-size: 28rpx;
    color: var(--benbenFontColor3);
    width: 246rpx;
    height: 72rpx;
    line-height: 72rpx;
  }

  .commodityList_fd2_3_c0 {
    padding: 24rpx 23rpx 24rpx 23rpx;
    position: fixed;
    bottom: calc(40rpx + var(--window-bottom));
  }

  .commodityList_fd2_2_c0_c0 {
    line-height: 45rpx;
    font-size: 28rpx;
    font-weight: 700;
    color: #333333;
  }

  .commodityList_fd2_1_c1_c1_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 600;
    color: #333333;
  }

  .commodityList_fd2_1_c1_c1 {
    background: #F8F8F8;
    width: 160rpx;
    height: 80rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 0rpx 8rpx 16rpx 8rpx;
  }

  .commodityList_fd2_1_c1_c0_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 600;
    color: var(--benbenFontColor5);
  }

  .commodityList_fd2_1_c1_c0 {
    border: 1px solid var(--benbenbdColor0);
    background: var(--benbenbgColor1);
    width: 160rpx;
    height: 80rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    background-size: 100% auto !important;
    margin: 0rpx 8rpx 16rpx 8rpx;
  }

  ::v-deep .commodityList_fd2_1_c1 {
    margin: 0rpx 16rpx 28rpx 16rpx;
  }

  .commodityList_fd2_1_c0_c1 {
    width: 24rpx;
    height: 24rpx;
  }

  .commodityList_fd2_1_c0_c0 {
    line-height: 45rpx;
    font-size: 27rpx;
    font-weight: 700;
    color: #333333;
  }

  .commodityList_fd2_1_c0 {
    margin: 0rpx 24rpx 17rpx 32rpx;
  }

  .commodityList_fd2_0_c0 {
    line-height: 50rpx;
    font-size: 32rpx;
    font-weight: 700;
    color: #333333;
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .commodityList_fd2_0 {
    background: #fff;
    margin: 0rpx 0rpx 35rpx 0rpx;
    height: 86rpx;
    background-size: 100% auto !important;
  }

  .commodityList_flex_3 {
    padding: 0rpx 24rpx 0rpx 24rpx;
  }

  .commodityList_fd3_0_c1_c2_c0_c1_c1 {
    font-size: 22rpx;
    color: var(--benbenFontColor1);
  }

  .commodityList_fd3_0_c1_c2_c0_c0 {
    color: var(--benbenFontColor1);
    font-size: 24rpx;
  }

  .commodityList_fd3_0_c1_c2_c0 {
    background: rgba(246, 246, 246, 1);
    padding: 6rpx 10rpx 6rpx 10rpx;
    border-radius: 44rpx;
    background-size: 100% auto;
  }

  .commodityList_fd3_0_c1_c1_c1 {
    margin: 0rpx 0rpx 0rpx 12rpx;
  }

  .commodityList_fd3_0_c1_c1_c0_c1 {
    color: rgba(217, 50, 32, 1);
    font-weight: 600;
  }

  .commodityList_fd3_0_c1_c1_c0_c0 {
    width: 32rpx;
    height: 32rpx;
    margin: 0rpx 10rpx 0rpx 0rpx;
  }

  .commodityList_fd3_0_c1_c1_c0 {
    margin: 12rpx 0rpx 12rpx 0rpx;
  }

  .commodityList_fd3_0_c1_c0 {
    line-height: 40rpx;
    font-size: 28rpx;
    font-weight: 700;
    color: var(--benbenFontColor0);
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .commodityList_fd3_0_c1 {
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .commodityList_fd3_0_c0 {
    width: 200rpx;
    height: 200rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
  }

  .commodityList_fd3_0 {
    background: #FFFFFF;
    padding: 24rpx 24rpx 24rpx 24rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_flex_4 {
    padding: 24rpx;
  }

  .commodityList_fd4_0_c0_c3_c1_c1 {
    font-size: 22rpx;
    color: var(--benbenFontColor1);
  }

  .commodityList_fd4_0_c0_c3_c0 {
    color: var(--benbenFontColor1);
    font-size: 24rpx;
  }

  .commodityList_fd4_0_c0_c3 {
    background: rgba(246, 246, 246, 1);
    padding: 6rpx;
    border-radius: 44rpx;
    background-size: 100% auto;
    width: 300rpx;
    margin: 12rpx auto 0rpx auto;
  }

  .commodityList_fd4_0_c0_c2_c0_c1 {
    color: rgba(217, 50, 32, 1);
    font-weight: 600;
  }

  .commodityList_fd4_0_c0_c2_c0_c0 {
    width: 32rpx;
    height: 32rpx;
    margin: 0rpx 10rpx 0rpx 0rpx;
  }

  .commodityList_fd4_0_c0_c2_c0 {
    margin: 12rpx 0rpx 12rpx 0rpx;
  }

  .commodityList_fd4_0_c0_c2 {
    margin: 0rpx 20rpx 0rpx 20rpx;
  }

  .commodityList_fd4_0_c0_c1 {
    font-size: 28rpx;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    margin: 0rpx 20rpx 0rpx 20rpx;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .commodityList_fd4_0_c0_c0 {
    width: 346rpx;
    height: 346rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 0rpx 0rpx 24rpx 0rpx;
  }

  .commodityList_fd4_0_c0 {
    background: #fff;
    background-size: 100% auto !important;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    padding: 0rpx 0rpx 22rpx 0rpx;
    margin: 0rpx 0rpx 8rpx 0rpx;
    width: 346rpx;
  }

  .commodityList_flex_5 {
    padding: 0rpx 0rpx 0rpx 14rpx;
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_flex_6 {
    width: 152rpx;
    height: 152rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(450rpx + var(--window-bottom));
    right: 0rpx;
  }

  .commodityList_fd6_0_c1 {
    position: absolute;
    top: 22rpx;
    right: 25rpx;
  }

  .commodityList_fd6_0_c0 {
    width: 152rpx;
    height: 152rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd6_0 {
    position: relative;
  }

  .commodityList_flex_7 {
    background: #fff;
    width: 566rpx;
    background-size: 100% auto !important;
    position: relative;
    padding: 40rpx 0rpx 0rpx 0rpx;
  }

  .commodityList_fd7_3_c0_c1 {
    background: var(--benbenbgColor7);
    border-radius: 36rpx;
    font-size: 28rpx;
    color: var(--benbenFontColor3);
    width: 246rpx;
    height: 72rpx;
    line-height: 72rpx;
    margin: 0rpx 0rpx 0rpx 18rpx;
  }

  .commodityList_fd7_3_c0_c0 {
    background: var(--benbenbgColor2);
    border-radius: 36rpx;
    font-size: 28rpx;
    color: var(--benbenFontColor3);
    width: 246rpx;
    height: 72rpx;
    line-height: 72rpx;
  }

  .commodityList_fd7_3_c0 {
    padding: 24rpx 23rpx 24rpx 23rpx;
    position: fixed;
    bottom: calc(40rpx + var(--window-bottom));
  }

  .commodityList_fd7_2_c1 {
    padding: 0rpx 20rpx 0rpx 20rpx;
  }

  .commodityList_fd7_2_c0_c0 {
    line-height: 45rpx;
    font-size: 28rpx;
    font-weight: 700;
    color: #333333;
  }

  .commodityList_fd7_1_c1_c1_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 600;
    color: #333333;
  }

  .commodityList_fd7_1_c1_c1 {
    background: #F8F8F8;
    width: 160rpx;
    height: 80rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    margin: 0rpx 8rpx 16rpx 8rpx;
  }

  .commodityList_fd7_1_c1_c0_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 600;
    color: var(--benbenFontColor5);
  }

  .commodityList_fd7_1_c1_c0 {
    border: 1px solid var(--benbenbdColor0);
    background: var(--benbenbgColor1);
    width: 160rpx;
    height: 80rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
    background-size: 100% auto !important;
    margin: 0rpx 8rpx 16rpx 8rpx;
  }

  ::v-deep .commodityList_fd7_1_c1 {
    margin: 0rpx 16rpx 28rpx 16rpx;
  }

  .commodityList_fd7_1_c0_c1 {
    width: 24rpx;
    height: 24rpx;
  }

  .commodityList_fd7_1_c0_c0 {
    line-height: 45rpx;
    font-size: 27rpx;
    font-weight: 700;
    color: #333333;
  }

  .commodityList_fd7_1_c0 {
    margin: 0rpx 24rpx 17rpx 32rpx;
  }

  .commodityList_fd7_0_c0 {
    line-height: 50rpx;
    font-size: 32rpx;
    font-weight: 700;
    color: #333333;
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .commodityList_fd7_0 {
    background: #fff;
    margin: 0rpx 0rpx 35rpx 0rpx;
    height: 86rpx;
    background-size: 100% auto !important;
  }

  .allCommodity_flex_5 {
    background: #fff;
    width: 750rpx;
    min-height: 100rpx;
    padding-bottom: 30rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(0rpx + var(--window-bottom));
    background-size: 100% auto !important;
    // padding: 0 66rpx;
    text-align: center;
    width: 100%;
  }

  .allCommodity_fd5_0_c0_c0 {
    width: 48rpx;
    height: 48rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 10rpx auto 2rpx auto;
    display: block;
  }

  .allCommodity_fd5_0 {
    text-align: center;
    width: 100%;
    // padding: 0rpx 70rpx 0rpx 70rpx;
  }

  .allCommodity_fd5_0_c0_c1 {
    color: #333;
    font-size: 22rpx;
    font-weight: 400;
    line-height: 30rpx;
  }

  .allCommodity_fd5_0_c1_c0 {
    width: 48rpx;
    height: 48rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 2rpx 0rpx;
  }

  .allCommodity_fd5_0_c1_c1 {
    color: #333;
    font-size: 22rpx;
    font-weight: 400;
    line-height: 30rpx;
  }

  .allCommodity_fd5_0_c3_c1 {
    color: #333;
    font-size: 22rpx;
    font-weight: 400;
    line-height: 30rpx;
  }

  .allCommodity_fd5_0_c3_c0 {
    width: 48rpx;
    height: 48rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 2rpx 0rpx;
  }

  .allCommodity_fd5_0_c2_c1 {
    color: #0089ff;
    font-size: 22rpx;
    font-weight: 400;
    line-height: 30rpx;
  }

  .allCommodity_fd5_0_c2_c0 {
    width: 48rpx;
    height: 48rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 2rpx 0rpx;
  }
</style>
